package com.huixh.train.member.req;

import jakarta.validation.constraints.NotBlank;

/**
 * @author huixh
 */
public class PassengerSaveReq {

    private Long id;
    @NotBlank
    private String name;
    @NotBlank

    private String idCard;
    @NotBlank
    private String type;

    public PassengerSaveReq() {
    }

    public PassengerSaveReq(Long id, String name, String idCard, String type) {
        this.id = id;
        this.name = name;
        this.idCard = idCard;
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
